
import React from 'react';
import {getHomeData} from '../../api/api-home'



class Home extends React.Component {

  async componentWillMount(){
    this._getHomeData()

  }
  async _getHomeData(){
    let res = await getHomeData()
    console.log(res);
  }
  render(){
    return(
      <div>
        我是首页
      </div>

    )
  }

}

export default Home